Print Command Registry entry

Specifies a command used to process anything sent to a printer.

Usage

This Registry entry is assigned at the system level only:

KeySystem
Key 1System
Key 2Setting
Key 3Print
Key 4Print Command
Valuecommand

Example

This entry defines a Print Command for a system using a laser printer:

KeySetting
Key 1 System
Key 2 Setting
Key 3 Print
Key 4 Print Command
Value |texcat -olaser %s lp -oraw -d%s

This entry specifies that data is sent through texcat, an Axiell (former KE) version of the Unix cat command. The -olaser option tells texcat to output the data in a format for a laser printer. The first %s gets substituted for a pipe ( | ) - this is because Registry entries are pipe delimited and hence a pipe in the Value field is not allowed. The output of texcat is piped to the system specific Print Command with the correct flags; in this example it is lp -oraw -d%s